﻿@using Microsoft.Samples.CRUDSqlAzure.Web.Infrastructure
@{ var userName = MembershipHelper.UserName; }
@if (!string.IsNullOrEmpty(userName))
{
    <text>Welcome <span class="user-display">@userName</span>! / @Html.ActionLink("Log Off", "LogOff", "Account")
    </text>
}
else
{
    @: @Html.ActionLink("Log On", "LogOn", "Account") 
}